package wfm.ws;


/**
 * Hello world!
 *
 */
public class AllServers 
{
	private AddressValidationServiceServer addressValidationServer = null;
	private PaymentServiceServer paymentServer = null;
	
    public AllServers()
    {
        this.addressValidationServer = new AddressValidationServiceServer();
        this.paymentServer = new PaymentServiceServer();
    }
    
    public void start()
    {
    	this.addressValidationServer.start();
    	this.paymentServer.start();
    	
        // Test-URIs
        // http://localhost:63082/addressValidation/validateAddress?_wadl
        // http://localhost:63082/addressValidation/validateAddress?firstName=Max&lastName=Muster&street=Karlsplatz%2013&city=Wien&zip=1040&country=Austria&telNo=1234567
    }
    
    public void stop()
    {
    	this.addressValidationServer.stop();
    	this.paymentServer.stop();
    }
    
    public static void main(String ... args)
    {
    	new AllServers().start();
    }
}
